texthistory: add barriers after final grouping
authorChristian Hergert <chergert@redhat.com>
Thu, 23 Sep 2021 00:08:02 +0000 (17:08 -0700)
committerChristian Hergert <chergert@redhat.com>
Thu, 23 Sep 2021 20:25:35 +0000 (13:25 -0700)
commitb578c78eff41bd2dbedf459a102e05eec78b7f7c
tree8f1a495a83577a63d1b25a33d24da98d999c10cd
parentd7db3f1546156f406509e5bfbf076cd575c5628d
texthistory: add barriers after final grouping

We don't want to allow new items to be grouped into a previous action
group after the end_user_action() is called. This ensures that we add a
barrier action in those conditions.

Fixes #4276
gtk/gtktexthistory.c
testsuite/gtk/texthistory.c